﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="outbox_control.aspx.cs" Inherits="AnyOffice.general.email.outbox_control" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>读邮件</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">	
	<script Language="JavaScript">
function copy_email()
{
  parent.mail_view.document.execCommand('selectall'); 
  parent.mail_view.document.execCommand('copy');
  parent.mail_view.document.execCommand('unselect');
  alert("邮件全文已复制到剪贴板！");
}

</script>
</HEAD>
	<body class="bodycolor" topmargin="7">
		<form id="Form1" method="post" runat="server">
			<center>
			<asp:Literal ID="litBeforeNext" runat="server"></asp:Literal>
                &nbsp;&nbsp;
			<input type="button" value="删除" class="BigButton" onclick="parent.mail_view.delete_email();" title="删除此邮件">&nbsp;&nbsp;
			<input type="button" value="打印" class="BigButton" onclick="parent.mail_view.print_email();" title="打印此邮件">&nbsp;&nbsp;
			<input type="button" value="复制全文" class="BigButton" onclick="copy_email();" title="复制全文">&nbsp;&nbsp;
			<input type="button" value="返回" class="BigButton" onClick="parent.location='<%=ViewState["position"]%>.aspx?page=<%=ViewState["page"]%>'">
			&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
			</center>
		</form>
	</body>
</HTML>
